package com.ruoyi.base.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 客户余额
对象 gas_balance
 *
 * @author hw
 * @date 2023-01-07
 */
public class GasBalance extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 余额ID */
    private Long balanceId;

    /** 客户ID */
    @Excel(name = "客户ID")
    private Long customerId;

    /** 客户名 */
    @Excel(name = "客户名")
    private String customerName;

    /** 客户余额 */
    @Excel(name = "客户余额")
    private BigDecimal customerBalance;

    /** 商家ID */
    @Excel(name = "商家ID")
    private Long enterpriseId;

    /** 商家名 */
    @Excel(name = "商家名")
    private String enterpriseName;

    public void setBalanceId(Long balanceId)
    {
        this.balanceId = balanceId;
    }

    public Long getBalanceId()
    {
        return balanceId;
    }
    public void setCustomerId(Long customerId)
    {
        this.customerId = customerId;
    }

    public Long getCustomerId()
    {
        return customerId;
    }
    public void setCustomerName(String customerName)
    {
        this.customerName = customerName;
    }

    public String getCustomerName()
    {
        return customerName;
    }
    public void setCustomerBalance(BigDecimal customerBalance)
    {
        this.customerBalance = customerBalance;
    }

    public BigDecimal getCustomerBalance()
    {
        return customerBalance;
    }
    public void setEnterpriseId(Long enterpriseId)
    {
        this.enterpriseId = enterpriseId;
    }

    public Long getEnterpriseId()
    {
        return enterpriseId;
    }
    public void setEnterpriseName(String enterpriseName)
    {
        this.enterpriseName = enterpriseName;
    }

    public String getEnterpriseName()
    {
        return enterpriseName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("balanceId", getBalanceId())
            .append("customerId", getCustomerId())
            .append("customerName", getCustomerName())
            .append("customerBalance", getCustomerBalance())
            .append("enterpriseId", getEnterpriseId())
            .append("enterpriseName", getEnterpriseName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
